package com.ymatou.iapi.sellerquery.testcase;

import java.util.HashMap;
import java.util.List;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.ymatou.iapi.sellerquery.parameter.GetSellerConsumersBean;
import com.ymatou.iapi.sellerquery.service.GetSellerConsumersCall;
import com.ymt.core.tool.FormatUtil;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.*;
import com.ymt.utils.tag.*;
import com.ymttest.database.sqlwapper.DefaultWapper;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.YMTDateUtil;
import com.ymttest.utils.constant.ECode;
/**
*获取卖家顾客ID接口
*FreeMaker Template自动生成代码
*/
@TestSuite
public class Ts_GetSellerConsumers{
	private static GetSellerConsumersBean getsellerconsumersBean;
	private static GetSellerConsumersCall getsellerconsumersCall;
	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("获取卖家顾客ID接口");
	}

	@Before
	public void caseUp() {
		getsellerconsumersBean=new GetSellerConsumersBean();
		getsellerconsumersCall=new GetSellerConsumersCall();
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(getsellerconsumersCall.getOpurl());
	}

	@After
	public void caseDown() {
		Logger.end();
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_GetSellerConsumers_001() {
		Logger.start(true,"获取卖家顾客ID成功,countOnly=true");
		try {
            int sellerId = Integer.valueOf(EnvSetup.getData("SellerId"));
            Boolean excludeBlacklistConsumers=false;
            Boolean countOnly=true;
            Boolean shangou=false;
            Boolean turnover=true;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			getsellerconsumersBean.setTurnover(turnover);
			getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);
			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals("null", getsellerconsumersCall.getData().getString("consumers"), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");

		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_GetSellerConsumers_002() {
		Logger.start(true,"获取卖家顾客ID成功,countOnly=false");
		try {
            int sellerId = Integer.valueOf(EnvSetup.getData("SellerId"));
            Boolean excludeBlacklistConsumers=false;
            Boolean countOnly=false;
            Boolean shangou=false;
            Boolean turnover=true;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-100, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			getsellerconsumersBean.setTurnover(turnover);
			getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);
			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals(consumersList.toString().replace(" ", ""), getsellerconsumersCall.getData().getString("consumers").replace("\"", ""), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_GetSellerConsumers_003() {
		Logger.start(true,"获取卖家顾客ID成功,excludeBlacklistConsumers=true,countOnly=false");
		try {
            int sellerId = Integer.valueOf(EnvSetup.getData("SellerId"));
            Boolean excludeBlacklistConsumers=true;
            Boolean countOnly=false;
            Boolean shangou=false;
            Boolean turnover=true;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			getsellerconsumersBean.setTurnover(turnover);
			getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals(consumersList.toString().replace(" ", ""), getsellerconsumersCall.getData().getString("consumers").replace("\"", ""), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_GetSellerConsumers_004() {
		Logger.start(true,"获取卖家顾客ID成功,excludeBlacklistConsumers=true,countOnly=true");
		try {
            int sellerId = Integer.valueOf(EnvSetup.getData("SellerId"));
            Boolean excludeBlacklistConsumers=true;
            Boolean countOnly=true;
            Boolean shangou=false;
            Boolean turnover=true;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			getsellerconsumersBean.setTurnover(turnover);
			getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals("null", getsellerconsumersCall.getData().getString("consumers"), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_GetSellerConsumers_005() {
		Logger.start(true,"获取卖家顾客ID成功,excludeBlacklistConsumers=true,turnover=false");
		try {
            int sellerId = Integer.valueOf(EnvSetup.getData("SellerId"));
            Boolean excludeBlacklistConsumers=true;
            Boolean countOnly=true;
            Boolean shangou=false;
            Boolean turnover=false;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			getsellerconsumersBean.setTurnover(turnover);
			getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals("null", getsellerconsumersCall.getData().getString("consumers"), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_GetSellerConsumers_006() {
		Logger.start(true,"获取卖家顾客ID成功,excludeBlacklistConsumers=true,shangou=true");
		try {
            int sellerId = Integer.valueOf(EnvSetup.getData("SellerId"));
            Boolean excludeBlacklistConsumers=true;
            Boolean countOnly=true;
            Boolean shangou=false;
            Boolean turnover=false;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			getsellerconsumersBean.setTurnover(turnover);
			getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals("null", getsellerconsumersCall.getData().getString("consumers"), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P3.class})
	@TestCase
	public void Tc_GetSellerConsumers_007() {
		Logger.start(true,"获取卖家顾客ID成功,excludeBlacklistConsumers=true,shangou 为null");
		try {
            int sellerId = Integer.valueOf(EnvSetup.getData("SellerId"));
            Boolean excludeBlacklistConsumers=true;
            Boolean countOnly=true;
            //Boolean shangou=false;
            Boolean turnover=false;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			getsellerconsumersBean.setTurnover(turnover);
			//getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        //m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals("null", getsellerconsumersCall.getData().getString("consumers"), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P3.class})
	@TestCase
	public void Tc_GetSellerConsumers_008() {
		Logger.start(true,"获取卖家顾客ID成功,excludeBlacklistConsumers=true,shangou 为null,turnover 为null");
		try {
            int sellerId = Integer.valueOf(EnvSetup.getData("SellerId"));
            Boolean excludeBlacklistConsumers=true;
            Boolean countOnly=true;
            //Boolean shangou=false;
            //Boolean turnover=false;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			//getsellerconsumersBean.setTurnover(turnover);
			//getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        //m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        //m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals("null", getsellerconsumersCall.getData().getString("consumers"), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({P3.class})
	@TestCase
	public void Tc_GetSellerConsumers_009() {
		Logger.start(true,"sellerid 不存在");
		try {
            int sellerId = 11222;
            Boolean excludeBlacklistConsumers=true;
            Boolean countOnly=true;
            //Boolean shangou=false;
            //Boolean turnover=false;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			//getsellerconsumersBean.setTurnover(turnover);
			//getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        //m.put("turnover", turnover);
	        m.put("sellerId", sellerId);
	        //m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);			
			Logger.verifyEquals(ECode.SUCCESS, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(0, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals("null", getsellerconsumersCall.getData().getString("consumers"), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(true,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	@Test
	@Category({P3.class})
	@TestCase
	public void Tc_GetSellerConsumers_010() {
		Logger.start(true,"sellerid为null");
		try {
            int sellerId = 11222;
            Boolean excludeBlacklistConsumers=true;
            Boolean countOnly=true;
            //Boolean shangou=false;
            //Boolean turnover=false;
            String beginTime=YMTDateUtil.getBeforeOrNextDay(-10, "yyyy-MM-dd'T'HH:mm:ss");
            String endTime=YMTDateUtil.getBeforeOrNextDay(1, "yyyy-MM-dd'T'HH:mm:ss");
       
			//getsellerconsumersBean.setSellerId(sellerId);
			getsellerconsumersBean.setExcludeBlacklistConsumers(excludeBlacklistConsumers);
			getsellerconsumersBean.setCountOnly(countOnly);
			//getsellerconsumersBean.setTurnover(turnover);
			//getsellerconsumersBean.setShangou(shangou);
			getsellerconsumersBean.setBeginTime(beginTime);
			getsellerconsumersBean.setEndTime(endTime);
			String param=FormatUtil.beanToHttpString(getsellerconsumersBean, true, false);
			getsellerconsumersCall.setData(param);
			getsellerconsumersCall.callService();			
			
			DefaultWapper defaultWapper=new DefaultWapper();
	        HashMap m = new HashMap();
	        m.put("excludeBlacklistConsumers", excludeBlacklistConsumers);
	        //m.put("turnover", turnover);
	        //m.put("sellerId", sellerId);
	        //m.put("shangou", shangou);
	        m.put("beginTime", beginTime);
	         m.put("endTime", endTime);			
			List<String> consumersList=defaultWapper.getSellerConsumersList(m);			
			Logger.verifyEquals(ECode.ERROR400, getsellerconsumersCall.getCode(), "验证code");
			Logger.verifyEquals(100, getsellerconsumersCall.getBCode(), "验证bcode");		
			Logger.verifyEquals("sellerId:sellerId不能为0", getsellerconsumersCall.getMsg(), "验证bcode");		
			Logger.verifyEquals("null", getsellerconsumersCall.getData().getString("consumers"), "验证consumers");
			Logger.verifyEquals(consumersList.size(),getsellerconsumersCall.getData().getInt("consumersCount"), "验证consumersCount");
			Logger.verifyEquals(false,getsellerconsumersCall.getData().getBoolean("success"), "验证success");
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
}